<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ include file="debug-console.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/transitional.dtd">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>第三部分 乡镇（街道）和社区（行政村调查）</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="css/main.css">
		<link rel="stylesheet" type="text/css" href="css/survey.css">
		<script type="text/javascript" src="js/lib/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" src="js/survey-util.js"></script>
		<script type="text/javascript">
			$(function(){
				var obj = window.dialogArguments;
				if(obj=='aa'){
					$('#button2,.submit,#next').css('display','none');
					$('input,select').attr('disabled','disabled');
					$('#dw').css('margin-bottom','8%');
				}
				$('#next').on('click',function(){
					window.open('/gx_survey/com.future.servlet/NextAreaServlet?code='+${userBo.user.username}+'&flag=aa');
				});
			});
		</script>
	</head>
	<body>
		<form action="">
			<div class="title-container">
				<div class="title">
					乡镇（街道调查）
				</div>
			</div>
			<div class="container">
				<div class="blank-container">
					<div class="blank-fill">
						一、本乡镇（街道）的常住人口
						<input onkeyup="value=value.replace(/[^\d]/g,'')" class="blank-answer" id="item0101" value=${blankModel.item0101 }>
						人。
					</div>
					<div class="blank-fill">
						二、本乡镇（街道）工作人员
						<input onkeyup="value=value.replace(/[^\d]/g,'')" class="blank-answer" id="item0201" value=${blankModel.item0201 }>
						人，其中承担为民服务办理的
						<input onkeyup="value=value.replace(/[^\d]/g,'')" class="blank-answer" id="item0202" value=${blankModel.item0202 }>
						人。
					</div>
					<div class="blank-fill">
						三、工作人员人均拥有电脑
						<input onkeyup="value=value.replace(/[^\d\.]/g,'')" class="blank-answer" id="item0301" value=${blankModel.item0301 }>
						台。
					</div>
					<div class="blank-fill">
						四、在《关于开展依托电子政务平台加强县级政府政务公开和政务服务试点工作意见的通知》(国函办【2011】99号）所确定的295项行政职权事项中为百姓提供服务的服务事项
						<input onkeyup="value=value.replace(/[^\d]/g,'')" class="blank-answer" id="item0401" value=${blankModel.item0401 }>
						项。
					</div>
					<div class="blank-fill">
						五、请您在下列表格中选择可以在线办理的服务事项。
					</div>
					<div class="blank-fill blank-info">
						(注：“在线办理”栏,实现电子政务在线办理的打 “√”，没有实现电子政务在线办理的打“×”;)
					</div>
				</div>
				<div class="grid-container">
					<table class="grid">
						<tr>
							<th>
								序号
							</th>
							<th>
								服务事项
							</th>
							<th>
								在线
								<br />
								办理
							</th>
						</tr>
						<!-- 下面循环显示 -->
						<c:if test="${!empty tsvos}">
							<c:forEach var="tsvo" items="${tsvos}">
								<tr>
									<td class="grid-id">
										${tsvo.servicesid}
										<input type="hidden" name="servicesid" value="${tsvo.servicesid}">
									</td>
									<td class="grid-content">
										${tsvo.services }
									</td>
									<td class="grid-answer">
										<select id="answer" name="answer">
											<option value="-1" selected="selected"></option>
											<option value="1" ${tsvo.answer==1? "selected='selected'":""}>
												√
											</option>
											<option value="0" ${tsvo.answer==0? "selected='selected'":""}>
												×
											</option>
										</select>
									</td>
								</tr>
							</c:forEach>
						</c:if>
					</table>
				</div>
				<div class="button-container">
					<input class="submit" id="button1" type="button" value="保存提交" />
				</div>
				<div class="slid-button" id='dw'>
					<img id = "next" src="images/bulb_off_64.png" title="下级"><br>
					<img id = "print" src="images/document_64.png" title="打印"><br>
					<img src="images/arrow_up_64.png" id="uw" onclick="javascript:scroll(0,0);" title="顶部"><br>
					<img src="images/checkmark_64.png" id="button2" title="临时保存"><br>
					<img src="images/arrow_down_64.png" onclick="javascript:scroll(0,80000);" title="底部">
				</div>
			</div>
		</form>
	</body>
</html>
